package com.spsoft.vatoutinv.model.vo.vmscreditlimit;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.spsoft.vatoutinv.constants.CommonConstant;
import com.spsoft.workflow.model.vo.biz.NextHandleInfoVo;
import com.spsoft.workflow.model.vo.biz.ProcessLogVo;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
 * @author wangy
 * @date 2023/12/6 17:19
 */
@Data
public class VmsCreditLimitProcessVO {

    /**
     * 业务流程类型
     */
    @ApiModelProperty(value = "授信额度-业务流程类型")
    private String busType;

    /**
     * 业务流程编号
     */
    @ApiModelProperty(value = "授信额度-业务流程编号")
    private String busCode;

    /**
     * 创建人
     */
    @ApiModelProperty(value = "授信额度-创建人")
    private String createdBy;

    /**
     * 创建时间
     */
    @ApiModelProperty(value = "授信额度-创建时间")
    @JsonFormat(pattern = CommonConstant.DATE_FORMAT_14, timezone = CommonConstant.TIMEZONE)
    private Date createdTime;

    /**
     * 申请额度
     */
    @ApiModelProperty(value = "授信额度-申请额度")
    @JsonSerialize(using = ToStringSerializer.class)
    private BigDecimal sxed;

    /**
     * 事项说明
     */
    @ApiModelProperty(value = "授信额度-审核事项说明轨迹")
    private String sxsm;

    /**
     * 审核轨迹
     */
    @ApiModelProperty(value = "授信额度-审核轨迹")
    private List<ProcessLogVo> processLog;

    /**
     * 审核意见信息
     */
    @ApiModelProperty(value = "授信额度-审核意见信息")
    private NextHandleInfoVo nextHandleInfoVo;
}
